package org.fluidripple.socket.wrapper;

import io.netty.buffer.ByteBuf;
import lombok.Getter;
import lombok.Setter;
import org.fluidripple.socket.session.Session;

@Getter
@Setter
public class DataWrapper {

    private ByteBuf buf;

    private Session session;

    public DataWrapper(ByteBuf buf, Session session) {
        this.buf = buf;
        this.session = session;
    }

    public String getDeviceSerializable(){
        return session.getDeviceSerializable();
    }
}
